<!doctype HTML>
<script src="../resources/text-based-repaint.js"></script>
<style>
span {
  color: red;
  display: inline;
  box-shadow: 0 5px 0 0 currentColor;
}
</style>
<span id="target">Text</span>
<script>
function repaintTest()
{
    target.style.color = 'green';
}
window.onload = runRepaintAndPixelTest;
</script>
